#!/bin/sh
 
UNINSTALLAPP="EMOBILE GL06P Uninstall.app"
USERPDF="EMOBILE GL06P usermanual.pdf"

if [ -e "$1/Contents/Resources/${UNINSTALLAPP}" ]
then
sudo cp -rf "$1/Contents/Resources/${UNINSTALLAPP}" "/Applications/"
sudo chmod -R a+wxr "/Applications/${UNINSTALLAPP}"
fi

if [ -e "/tmp/${USERPDF}" ]
then
sudo cp -f "/tmp/${USERPDF}"  "/Applications/"
sudo chmod -R a+wxr "/Applications/${USERPDF}"
fi